
<!DOCTYPE html>
<html lang="zh-Hans" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>Luis Blog - coding is my life</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="Luis,"> 
    <meta name="description" content="java开发工程师，喜欢代码，喜欢技术,"> 
    <meta name="author" content="winter chen"> 
    <link rel="alternative" href="atom.xml" title="Luis Blog" type="application/atom+xml"> 
    <link rel="icon" href="/img/favicon.png"> 
    
    
<link rel="stylesheet" href="/css/diaspora.css">

	<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({
              google_ad_client: "ca-pub-8691406134231910",
              enable_page_level_ads: true
         });
    </script>
    <script async custom-element="amp-auto-ads"
        src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js">
    </script>
<meta name="generator" content="Hexo 4.2.0"></head>

<body class="loading">
    <span id="config-title" style="display:none">Luis Blog</span>
    <div id="loader"></div>
    <div class="nav">
    <ul id="menu-menu" class="menu">
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="//" title="首页" target="_blank" rel="noopener">首页</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/categories/" title="分类" target="_blank" rel="noopener">分类</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/tags/" title="标签" target="_blank" rel="noopener">标签</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/archives/" title="归档" target="_blank" rel="noopener">归档</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/about/" title="关于" target="_blank" rel="noopener">关于</a>
        </li>
        
    </ul>
	<span class="target"></span>
	<center>
	<div class="hitokoto">
		<span class="typed" id="hitokoto" data-st="true"></span>
	</div>
	</center>
	
	<p class="footerlinks">
		<a href="#" class="iconfont icon-null"></a>
		
            <a href="https://github.com/WinterChenS" title="github" class="iconfont icon-github" target="_blank" rel="noopener"> </a>
        
            <a href="http://img.winterchen.com/Wechat.jpg" title="wechat" class="iconfont icon-wechat" target="_blank" rel="noopener"> </a>
        
            <a href="mailto:i@winterchen.com" title="email" class="iconfont icon-email" target="_blank" rel="noopener"> </a>
        
		<a href="#" class="iconfont icon-null"></a>
	</p>
	
    <p id="copyright">
        &copy; 2020 winter chen.
        <span> | </span>Powered by <a href="https://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a>
        <span> | </span>Theme <a href="https://github.com/Fechin/hexo-theme-diaspora" title="Diaspora" target="_blank" rel="noopener">Diaspora</a> by Fechin
		
		<span> | </span><a rel="nofollow" href="http://www.beian.miit.gov.cn" target="_blank">浙ICP备17056942号</a>
		
    </p>
</div>

<div id="container">
    
<div id="screen">
    <div id="mark">
        <div class="layer" data-depth="0.4">
            <img src="http://img.winterchen.com/alex-holyoake-388536-unsplash.jpg" id="cover" crossorigin="anonymous" width="1920" height="1080">
        </div>
    </div>
    <div id="vibrant">
        <svg viewBox="0 0 2880 1620" height="100%" preserveAspectRatio="xMaxYMax slice">
            <polygon opacity="0.7" points="2000,1620 0,1620 0,0 600,0 "/>
        </svg>
        <div></div>
    </div>
    <div id="header">
        <div>
            <a class="image-logo" href="/"></a>
			
			<div class="iconfont icon-search switchsearch" href="/search/" title="搜索"></div>
			
            <div class="iconfont icon-menu switchmenu"></div>
        </div>
    </div>
    
    <div id="post0">
        <p>五月 30, 2018</p>
        <h2><a href="/2018/05/30/spring-boot-conditional-on-expression/" title="springboot 中 @ConditionalOnExpression注解 在特定情况下使用相关配置或者实例化bean" class="posttitle">springboot 中 @ConditionalOnExpression注解 在特定情况下使用相关配置或者实例化bean</a></h2>
        <p class="summary">
在开发中会遇到一些需求：在配置文件中设置一个enable，当这个配置为true的时候，才进行相关的配置类的初始化...</p>
    </div>
    
</div>

    <div id="primary">
        
<div class="post">
    <a href="/2018/05/30/spring-boot-conditional-on-expression/" title="springboot 中 @ConditionalOnExpression注解 在特定情况下使用相关配置或者实例化bean">
        <img src="http://img.winterchen.com/alex-holyoake-388536-unsplash.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>五月 30, 2018</p>
        <h3><a href="/2018/05/30/spring-boot-conditional-on-expression/" title="springboot 中 @ConditionalOnExpression注解 在特定情况下使用相关配置或者实例化bean" class="posttitle">springboot 中 @ConditionalOnExpression注解 在特定情况下使用相关配置或者实例化bean</a></h3>
        <p>
在开发中会遇到一些需求：在配置文件中设置一个enable，当这个配置为true的时候，才进行相关的配置类的初始化。



示例：
需要实例化的bean，...</p>
    </div>
</div>


<div class="post">
    <a href="/2018/05/26/java-source-code-arraylist/" title="Java源码之旅(1) - ArrayList">
        <img src="http://img.winterchen.com/maximilian-weisbecker-544039-unsplash.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>五月 26, 2018</p>
        <h3><a href="/2018/05/26/java-source-code-arraylist/" title="Java源码之旅(1) - ArrayList" class="posttitle">Java源码之旅(1) - ArrayList</a></h3>
        <p>

 技术在学习中成长，源码的世界没有你想象的那么复杂


前言2018年的五月，开始java的源码学习之旅，从简单的角度去理解java的源码，前几天在学...</p>
    </div>
</div>


<div class="post">
    <a href="/2018/05/09/my-spring-interceptor/" title="spring中添加自定义的拦截器">
        <img src="https://images.unsplash.com/photo-1522199794616-8a62b541f762?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=71b5877630deb9ab5996f91cc61b43f7&auto=format&fit=crop&w=2104&q=80" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>五月 09, 2018</p>
        <h3><a href="/2018/05/09/my-spring-interceptor/" title="spring中添加自定义的拦截器" class="posttitle">spring中添加自定义的拦截器</a></h3>
        <p>
要想实现自定义的拦截器，我们不得不讲讲spring中的处理程序拦截器，那么什么是处理程序拦截器呢？


什么是spring中的处理程序拦截器？要想了解拦...</p>
    </div>
</div>


<div class="post">
    <a href="/2018/04/23/about-tree-body-1/" title="关于《三体》的一些读后感-农场主和射手">
        <img src="http://img.winterchen.com/c6ss47aaf11c6d97bfadc6e8f665083b3c.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>四月 23, 2018</p>
        <h3><a href="/2018/04/23/about-tree-body-1/" title="关于《三体》的一些读后感-农场主和射手" class="posttitle">关于《三体》的一些读后感-农场主和射手</a></h3>
        <p>
地铁上发现一件非常巧合的事情，正好读到《三体》中的一个情节，汪淼去杨冬的丈夫丁仪家，两个正在打台球验证科学理论，地铁的显示屏上同时也播放着打台球的画面。...</p>
    </div>
</div>


<div class="post">
    <a href="/2018/04/21/springboot2-mybatis/" title="springboot2.0 Mybatis 整合 (springboot2.0版本)">
        <img src="http://img.winterchen.com/simon-abrams-286276-unsplash.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>四月 21, 2018</p>
        <h3><a href="/2018/04/21/springboot2-mybatis/" title="springboot2.0 Mybatis 整合 (springboot2.0版本)" class="posttitle">springboot2.0 Mybatis 整合 (springboot2.0版本)</a></h3>
        <p>

springboot终于迎来了2.0版本，很多新的特性让springboot更加强大，之前使用1.5.6版本整合了Mybatis，现在2.0版本就已经...</p>
    </div>
</div>


<div class="post">
    <a href="/2018/04/10/fastdfs-centos7/" title="用FastDFS一步步搭建文件管理系统(CentOS 7)">
        <img src="http://img.winterchen.com/ornella-binni-224979-unsplash.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>四月 10, 2018</p>
        <h3><a href="/2018/04/10/fastdfs-centos7/" title="用FastDFS一步步搭建文件管理系统(CentOS 7)" class="posttitle">用FastDFS一步步搭建文件管理系统(CentOS 7)</a></h3>
        <p>
一、FastDFS介绍开源地址：https://github.com/happyfish100参考：分布式文件系统FastDFS设计原理参考：FastD...</p>
    </div>
</div>


<div class="post">
    <a href="/2018/03/31/how_to_impromptu_speech/" title="如何提高即兴演讲水平？">
        <img src="http://img.winterchen.com/WX20180331-132716@2x.png" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 31, 2018</p>
        <h3><a href="/2018/03/31/how_to_impromptu_speech/" title="如何提高即兴演讲水平？" class="posttitle">如何提高即兴演讲水平？</a></h3>
        <p>什么是即兴演讲？


即兴演讲在演讲中的比例非常大，占到了80%以上。大到被临时邀请登上几百上千人的舞台上发言，小到平时的各种面试、遇到老板时被问起工作等...</p>
    </div>
</div>


<div class="post">
    <a href="/2018/03/27/why_90_not_marry/" title="为什么说90后已经不想结婚了">
        <img src="http://img.winterchen.com/katerina-radvanska-397105-unsplash.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 27, 2018</p>
        <h3><a href="/2018/03/27/why_90_not_marry/" title="为什么说90后已经不想结婚了" class="posttitle">为什么说90后已经不想结婚了</a></h3>
        <p>2018年，第一批90后正式跨入28岁。
90后出道早，10年前江湖就有他们风光无限的身影。但按照教育时间表，大多数90后，一年不耽误地读完硕士，现在也不...</p>
    </div>
</div>


<div class="post">
    <a href="/2018/01/18/java-read-mpp-file/" title="Java使用mpxj导入.mpp格式的Project文件（甘特图）">
        <img src="http://img.winterchen.com/martin-shreder-349256-unsplash.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>一月 18, 2018</p>
        <h3><a href="/2018/01/18/java-read-mpp-file/" title="Java使用mpxj导入.mpp格式的Project文件（甘特图）" class="posttitle">Java使用mpxj导入.mpp格式的Project文件（甘特图）</a></h3>
        <p>

最近换工作了，主要的项目都是企业内部为支撑的管理平台，刚入入职没多久，遇到了一个需求，就是导入微软的Project文件，踩过不少坑，所以记录一下，后续...</p>
    </div>
</div>


<div class="post">
    <a href="/2018/01/18/hibernate-sql/" title="Hibernate 自定义查询sql 并使用自定义对象接收查询结果">
        <img src="http://img.winterchen.com/alex-6723-unsplash.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>一月 18, 2018</p>
        <h3><a href="/2018/01/18/hibernate-sql/" title="Hibernate 自定义查询sql 并使用自定义对象接收查询结果" class="posttitle">Hibernate 自定义查询sql 并使用自定义对象接收查询结果</a></h3>
        <p>

在很多的生产中，hibernate并不能满足我们所有的开发需求，比如，很多表的联合查询，并且查询之后的各种结果封装在自定义的dto对象中，那么我们就需...</p>
    </div>
</div>


    </div>
    
    <div id="pager"><a href="/page/5/" class="more">加载更多</a></div>
    
</div>
<div id="preview"></div>

	<center><a rel="nofollow" style="color: #666;" href="http://www.beian.miit.gov.cn" target="_blank">浙ICP备17056942号</a></center>



</body>


<script src="//lib.baomitu.com/jquery/1.8.3/jquery.min.js"></script>
<script src="/js/plugin.js"></script>
<script src="/js/typed.js"></script>
<script src="/js/diaspora.js"></script>


<link rel="stylesheet" href="/photoswipe/photoswipe.css">
<link rel="stylesheet" href="/photoswipe/default-skin/default-skin.css">


<script src="/photoswipe/photoswipe.min.js"></script>
<script src="/photoswipe/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>





<!-- Google Analytics -->
<script type="text/javascript">
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'G-30C04D6TMS', 'auto');
  ga('send', 'pageview');
</script>
<!-- End Google Analytics -->


</html>
